/*
 * @Author: EltonLi lijiaming@uavi-tech.com
 * @Date: 2023-10-08 14:13:23
 * @LastEditors: LVGRAPE
 * @LastEditTime: 2025-03-14 16:46:34
 * @FilePath: \zino-fc-v4\applications\ZINO_FC_V4.0\optical_flow\optical_flow.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#ifndef __OPTICAL_FLOW_H__
#define __OPTICAL_FLOW_H__
#ifdef __cplusplus
extern "C"
{
#endif

#include <rtthread.h>
#include "fc_sensors.h"

    void getOpFlowData(fc_sensor_data_t *sensor, zdrone_state_t *state, float dt);
    void opticalFlow_Update(fc_sensor_data_t *sensor, zdrone_state_t *state, struct rt_sensor_data *data, float dt);
    void opticalFlowDataUpdate(fc_sensor_data_t *sensor,zdrone_state_t *state);
#ifdef __cplusplus
}
#endif

#endif /* ZINO_SENSOR_SENSOR_H_ */
